﻿using System.Collections.Generic;
using ArmyManager.Items;
using ArmyManager.Modules;
using ArmyManager.Units;

namespace WesternExpansion
{
	public class WesternModule : IModule
	{
		public IEnumerable<Unit> Units
		{
			get
			{
				return new List<Unit>
				       	{
				       		new Unit("Brawler", Unit.UnitTypes.Common),
				       		new Unit("Gunslinger", Unit.UnitTypes.Common),
				       		new Unit("Mystic", Unit.UnitTypes.Common),
				       		new Unit("Sherrif", Unit.UnitTypes.Commander)
				       	};
			}
		}

		public IEnumerable<ShopItem> ShopItems
		{
			get
			{
				return new List<ShopItem>
				       	{
				       		new ShopItem(new Item("Brass Knuckles", Item.ItemTypes.Weapon, new List<ItemAttribute>{ new ItemAttribute(ItemAttribute.AttributeTypes.AttackPhysical, 50) }), 100),
				       		new ShopItem(new Item("Revolver", Item.ItemTypes.Weapon, new List<ItemAttribute>{ new ItemAttribute(ItemAttribute.AttributeTypes.AttackPhysical, 50) }), 100),
				       		new ShopItem(new Item("Book of Signs", Item.ItemTypes.Weapon, new List<ItemAttribute>{ new ItemAttribute(ItemAttribute.AttributeTypes.AttackMagical, 50) }), 100),
				       		new ShopItem(new Item("Runed Spurs", Item.ItemTypes.Boots, new List<ItemAttribute>
				       		                                                                       	{
				       		                                                                       		new ItemAttribute(ItemAttribute.AttributeTypes.DefensePhysical, 45),
				       		                                                                       		new ItemAttribute(ItemAttribute.AttributeTypes.CriticalRating, 20)
				       		                                                                       	}), 250),
				       		new ShopItem(new Item("Ring of Health", Item.ItemTypes.Ring, new List<ItemAttribute>{ new ItemAttribute(ItemAttribute.AttributeTypes.Health, 15) }), 75)
				       	};
			}
		}
	}
}
